const app = getApp();

var data = {
  xhx_images: app.xhx_images,
  xhx_route: app.xhx_route,
};

var currentPage = {
  data,
  onLoad,
};

var page = Object.assign({}, currentPage);

Page(page)

function onLoad(){
  const that = this;
  const prevPage = getCurrentPages()[getCurrentPages().length - 2];
  const xbody = prevPage.data.xbody;
  that.setData({
    xbody
  })
}